package android.slc.constant;

public class SlcConstants {

    public static class Status {
        //处理数据库失败开始状态码
        public static final int STATUS_HANDLER_DB_FAIL_START = 0;
        //删除flag 未删除
        public static final int STATUS_DEL_FLAG = 0;
        public static final String STATUS_DEL_FLAG_STR = STATUS_DEL_FLAG + "";
        //删除flag 已删除
        public static final int STATUS_DEL_FLAG_ALREADY = 1;
        public static final String STATUS_DEL_FLAG_ALREADY_STR = STATUS_DEL_FLAG_ALREADY + "";
        //系统开关、状态
        public static final int STATUS_SYS_NORMAL = 0;//启用
        public static final int STATUS_SYS_DISABLE = 1;//停用
        public static final String STATUS_SYS_NORMAL_DISABLE_ON_STR = STATUS_SYS_NORMAL + "";//启用
        public static final String STATUS_SYS_NORMAL_DISABLE_OFF_STR = STATUS_SYS_DISABLE + "";//停用

        //存在/不存在
        public static final Integer STATUS_EXIST = 1;
        public static final Integer STATUS_NOT_EXIST = 0;
        public static final String STATUS_EXIST_STR = STATUS_EXIST.toString();
        public static final String STATUS_NOT_EXIST_STR = STATUS_NOT_EXIST.toString();
    }

    public static class SqlConstants {
        public static final String SQL_LIMIT_1 = "limit 1";
    }
}
